package com.ljfresh.customer.result;

import com.ljfresh.customer.dto.UDeskResult;
import com.ljfresh.customer.exception.ErrorMap;
import com.ljfresh.customer.pojo.Ticket;
import com.ljfresh.customer.pojo.WorkOrder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author zzx
 */
@ApiModel("工单UDesk返回结果类")
@Data
public class TicketDetailResult extends UDeskResult {

    @ApiModelProperty("")
    private Ticket ticket;

    public TicketDetailResult(Integer code){
        super(code);
    }

    public TicketDetailResult(Integer code, String message, Ticket ticket){
        super(code, message);
        this.ticket =ticket;
    }
}
